package com.shf12;

public class Circle extends GeometricObject{
  private double radius;
  public Circle(double radius,String color,double weight){
    super(color, weight);
    this.radius=radius;
  }

  public double getRadius() {
    return radius;
  }

  public void setRadius(double radius) {
    this.radius = radius;
  }

  public double findArea(){
    return Math.PI*Math.pow(radius,2);
  }
}
